package com.example.smart_hospital.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.annotation.Nonnull;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserHealthInfo {
    private Integer userId;//用户id
    private Integer bloodType;//血型(1、A，2、B，3、C，4、D，5、稀有血型)
    private Integer isTakingMedicine;//是否正在服药
    private String allergyInfo;//过敏源
    private String medicalHistory;//病史
    private String emergencyContact;//紧急联系人
    private Integer status;//患者状态(0、未住院，1、住院)
    private Date createTime;
    private Date updateTime;
    private String userdMedicine;//历史用药
}
